package com.zhengtoudai.ui.bean;

import java.util.List;

/**
 * 作者：黑哥 on 2016/8/26 15:29
 */
public class MyRedpacketModel {
    private String code;
    private String message;
    private MyRedpacketBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public MyRedpacketBean getResult() {
        return result;
    }

    public void setResult(MyRedpacketBean result) {
        this.result = result;
    }

    public static class MyRedpacketBean{

        /**
         * redList : [{"minMoney":"500.00","redId":"31","description":"未使用","validTime":"2016-09-15 10:09:15.0","redMoney":"2.00","activityName":"红包d","addTime":"2016-09-14 10:09:15.0"},{"minMoney":"600.00","redId":"32","description":"未使用","validTime":"2016-09-15 10:09:34.0","redMoney":"3.00","activityName":"红包e","addTime":"2016-09-14 10:09:34.0"}]
         * totalPage : 1
         * pageNum : 1
         */

        private int totalPage;
        private int pageNum;
        /**
         * minMoney : 500.00
         * redId : 31
         * description : 未使用
         * validTime : 2016-09-15 10:09:15.0
         * redMoney : 2.00
         * activityName : 红包d
         * addTime : 2016-09-14 10:09:15.0
         */

        private List<RedListEntity> redList;

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public void setRedList(List<RedListEntity> redList) {
            this.redList = redList;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public int getPageNum() {
            return pageNum;
        }

        public List<RedListEntity> getRedList() {
            return redList;
        }

        public static class RedListEntity {
            private String minMoney;
            private String redId;
            private String description;
            private String validTime;
            private String redMoney;
            private String activityName;
            private String addTime;

            public void setMinMoney(String minMoney) {
                this.minMoney = minMoney;
            }

            public void setRedId(String redId) {
                this.redId = redId;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public void setValidTime(String validTime) {
                this.validTime = validTime;
            }

            public void setRedMoney(String redMoney) {
                this.redMoney = redMoney;
            }

            public void setActivityName(String activityName) {
                this.activityName = activityName;
            }

            public void setAddTime(String addTime) {
                this.addTime = addTime;
            }

            public String getMinMoney() {
                return minMoney;
            }

            public String getRedId() {
                return redId;
            }

            public String getDescription() {
                return description;
            }

            public String getValidTime() {
                return validTime;
            }

            public String getRedMoney() {
                return redMoney;
            }

            public String getActivityName() {
                return activityName;
            }

            public String getAddTime() {
                return addTime;
            }
        }
    }

}
